<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html lang="zh">
 <head>
  <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
  <meta content="2018-10-23T06:18:10.521000000" name="created"/>
  <meta content="2023-12-12T09:31:22" name="changed" translator="gocpicnic"/>
  <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
  <meta content="zh" http-equiv="Content-Language"/>
  <title>
   <!-- Logisim libraries -->
   Logisim-evolution 库
  </title>
  <link href="../../style.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
  <div class="maindiv">
   <p>
    <b>
     上一节:
    </b>
    <a href="subcirc_debug.html">
     调试子电路
    </a>
   </p>
   <h1>
    <!-- Logisim libraries -->
    Logisim-evolution 库
   </h1>
   <p>
    <!-- Every Logisim project is automatically a library that can be loaded into other Logisim projects: Just save it into a file and then load the library within another project with the menu <b class=menu>|&nbsp;Project&nbsp;|</b>→<b class=menu>|&nbsp;Load Library&nbsp;|</b>→<b class=menu>|&nbsp;logisim-evolution library...&nbsp;|</b>. All of the circuits defined in the first project will then be available as subcircuits for the second. This feature allows you to reuse common components across projects and to share favorite components with your friends (or students).<br>	Below our project loaded as a library is available in the navigation panel. -->
    每个 Logisim-evolution 项目自动都是一个可以加载到其他 Logisim 项目中的库：只需将其保存到文件中，然后使用菜单
    <b class="menu">
     | Project |
    </b>
    → 在另一个项目中加载该库→
    <b class="menu">
     | 加载库 |
    </b>
    →
    <b class="menu">
     | logisim-evolution 库... |
    </b>
    。 第一个项目中定义的所有电路都将可用作第二个项目的子电路。 此功能允许您跨项目重用通用组件，并与您的朋友（或学生）共享最喜欢的组件。
    <br/>
    下面的导航面板中提供了作为库加载的项目。
   </p>
   <p align="center">
    <img alt="#########" class="notscal" src="../../../img-guide/subcirc-10-lib.png"/>
   </p>
   <p>
    <!-- <b class=note>Note:</b> The library must not contain a circuit with the same name as a circuit already present in the project. -->
    <b class="note">
     注意：
    </b>
    库中不得包含与项目中已存在的电路同名的电路。
   </p>
   <p>
    <!-- Each project has a designated <b>main circuit</b>, which can be changed to refer to the current circuit via the menu <b class=menu>|&nbsp;Project&nbsp;|</b>→<b class=menu>|&nbsp;Set As Main Circuit&nbsp;|</b>. The <b>only</b> significance of this is that the main circuit is the one that is displayed when you first open the project. The default name ("main") of the circuit in a newly created file has no significance at all, and you can feel free to delete or rename that circuit. -->
    每个项目都有一个指定的
    <b>
     main circuit
    </b>
    ，可以通过菜单
    <b class="menu">
     | Project |
    </b>
    →
    <b class="menu">
     | Set As Main Circuit |
    </b>
    。 其
    <b>
     only
    </b>
    意义在于，主电路是您第一次打开项目时显示的电路。 新创建的文件中电路的默认名称（“main”）根本没有任何意义，您可以随意删除或重命名该电路。
   </p>
   <p>
    <!-- With a loaded Logisim library, you are allowed to view circuits and manipulate their states, but Logisim will prevent you from altering the circuits' design and other data stored within the file. -->
    通过加载的 Logisim-evolution 库，您可以查看电路并操作其状态，但 Logisim-evolution 将阻止您更改电路的设计和文件中存储的其他数据。
   </p>
   <p>
    <!-- If you want to alter a circuit in a loaded Logisim library, then you need to open it separately within Logisim. As soon as you save it, the other project should automatically load the modified version immediately; but if it does not, you can <b class="tkeybd">right-click</b> the library folder in the explorer pane and select <b class=menu>|&nbsp;Reload Library&nbsp;|</b>. -->
    如果您想更改已加载 Logisim-evolution 库中的电路，则需要在 Logisim-evolution 中单独打开它。 一旦保存，其他项目应该立即自动加载修改后的版本； 但如果没有，您可以
    <b class="tkeybd">
     right-click
    </b>
    资源管理器窗格中的库文件夹，然后选择
    <b class="menu">
     | Reload Library |
    </b>
    。
   </p>
   <p>
    <!-- <b>Next:</b> <a href="../index.html">User's Guide</a>. -->
    <b>
     下一节:
    </b>
    <a href="dynamic_components.html">
     动态组件
    </a>
    .
   </p>
   <p>
   </p>
   <p>
   </p>
   <p>
   </p>
  </div>
 </body>
</html>
